﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<CRM.Database.Model.Settlements>" %>
<%@ Import Namespace="CRM.Database.Model" %>

<% 
    var col = new CountriesCollection();
    Html.DevExpress().ComboBox(sss =>
                                    {
                                        
                                        sss.Name = "IdCountry";
                                        sss.Properties.ValueType = typeof (int);
                                        sss.Properties.ValueField = "IdCountry";
                                        sss.Properties.TextField = "CountryRu";
                                        sss.Width = new Unit(200);
                                    }).BindList(col.CountriesList).Bind(Model.IdCountry).GetHtml();%>

